﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DatabaseTransfer.Tables
{
    [AttributeUsage(AttributeTargets.Property)]
    public class ColumnInfoAttribute : Attribute
    {
        private string columnName;

        private Type type;

        public string ColumnName { get { return this.columnName; } }

        public Type Type { get { return this.type; } }

        public ColumnInfoAttribute(string columnName, Type type)
        {
            this.columnName = columnName;
            this.type = type;
        }
    }
}
